<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>新增主题</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<style type="text/css">
		fieldset {
			border:1px solid #1E82D1;
			height:80px;
		}
		
		
		.textbox{
			border:1px solid #1E82D1;
			width: 180px;
			height: 26px;
		}
	
		.btn{
			height: 30px;
			line-height:30px;
			width: 80px;
			display: inline-block;
			background: #1E82D1;
			color:#fff;
			text-align: center;
			text-decoration: none;
			border-radius: 15px;
			border:none;
			cursor: pointer;
		}
		
		.red {
			font-size:12px;
			color:#f00;
			font-weight: 700;
		}
	</style>
	
  </head>
  
  <body>
  	<form id="topic-form" action="admin/topicHandle.jsp" method="post">
  		<fieldset>
  			<legend>主题信息</legend>
  			<div>
  				<label for="topicname">主题名称：</label>
  				<input class="textbox" name="name" id="topicname" type="text" required /> <span class="red">${errMsg}</span>
  			</div>
  			
  			<div>
  				<input value="提交" type="submit" class="btn" />
  			</div>
  		</fieldset>
  	</form>
  </body>
</html>